﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace KLTN.Form_Control
{
    public partial class daodongdieuhoa : Form
    {
        //khai báo một hàm delegate
        public delegate void GetPara(float giatri1, float giatri2, float giatri3);
        //khai báo một kiểu hàm delegate
        public GetPara Mygetdata;

        public float giatri1;
        public float giatri2;
        public float giatri3;

        public daodongdieuhoa()
        {
            InitializeComponent();
            bt_close.Click += new EventHandler(bt_close_Click);
            bt_change.Click += new EventHandler(bt_change_Click);
            bt_save.Click += new EventHandler(bt_save_Click);
        }

        void bt_save_Click(object sender, EventArgs e)
        {
            //throw new NotImplementedException();
        }

        void bt_change_Click(object sender, EventArgs e)
        {
            Mygetdata(giatri1,giatri2,giatri3);
        }

        void bt_close_Click(object sender, EventArgs e)
        {
            Close();
        }

        
    }
}
